<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>百朋后台管理系统</title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/demo.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/public.css">
	<script type="text/javascript" src="__PUBLIC__/easyui/jquery.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/easyui/jquery.easyui.min.js"></script>
</head>
<body>
	<!--<table id="info" class="easyui-propertygrid" style="width:98%"
		data-options="
			url:'../../customer/customer/get_customer_see?cust_id='+<?php echo $cust_id; ?>,
			method:'get',
			showHeader:false,
			showGroup:true,
	">
	</table>-->
    <div id="dcMain"> <!-- 当前位置 -->
        <div id="index" class="mainBox" style="padding-top:18px;height:auto!important;height:550px;min-height:550px;">
            <div id="douApi"></div>
            <div class="indexBox">
            </div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="indexBoxTwo">
                <tr>
                    <td width="65%" valign="top" class="pr">
                        <div class="indexBox">
                            <div class="boxTitle">基本资料<a href="javascript:;" onclick="goto_basic('{$cust_data.cust_id}')" class="cueRed ml">（点击修改）</a></div>
                            <ul>
                                <table width="100%" border="0" cellspacing="0" cellpadding="7" class="tableBasic">
                                    <tr>
                                        <td width="100">客户姓名：</td>
                                        <td><strong>{$cust_data.cust_name}</strong></td>
                                        <td width="100">客户ID：</td>
                                        <td><strong>{$cust_data.cust_id}</strong></td>
                                    </tr>
                                    <tr>
                                        <td>手机号码：</td>
                                        <td><strong>{$cust_data.cust_phone}</strong></td>
                                        <td>邮箱：</td>
                                        <td><strong>{$cust_data.cust_email}</strong></td>
                                    </tr>
                                    <tr>
                                        <td>身份证号码：</td>
                                        <td><strong>{$cust_data.cust_identity}</strong></td>
                                        <td>出生年月：</td>
                                        <td><strong>{$cust_data.cust_birthday}</strong></td>
                                    </tr>
                                    <tr>
                                        <td>性别：</td>
                                        <td><strong>{$cust_data.cust_sex}</strong></td>
                                        </strong></td>
                                        <td>创建时间：</td>
                                        <td><strong>{$cust_data.cust_createdate}</strong></td>
                                    </tr>
                                    <tr>
                                        <td>银行卡号码：</td>
                                        <td><strong>{$cust_data.bc_bankname}{$cust_data.bc_bankcard}</strong></td>
                                        <td>预留手机号码：</td>
                                        <td><strong>{$cust_data.bc_reservedphone}</strong></td>
                                    </tr>
                                </table>
                            </ul>
                        </div>
                    </td>
                    <td valign="top" class="pl">
                        <div class="indexBox">
                            <div class="boxTitle">客户资料完善程度</div>
                            <ul>
                                <table width="100%" border="0" cellspacing="0" cellpadding="7" class="tableBasic">
                                    <tr>
                                        <th width="45%">基础资料</th>
                                        <td width="55%">操作时间</td>
                                    </tr>
                                    <tr>
                                        <th align="center">详细资料</th>
                                        <td align="center">2016-02-25 23:29:08</td>
                                    </tr>
                                    <tr>
                                        <th align="center">联系人信息</th>
                                        <td align="center">2016-02-25 13:48:48</td>
                                    </tr>
                                    <tr>
                                        <th align="center">工作信息</th>
                                        <td align="center">2013-10-16 09:43:01</td>
                                    </tr>
                                    <tr>
                                        <th align="center">银行卡</th>
                                        <td align="center">2013-10-16 09:42:58</td>
                                    </tr>
                                    <tr>
                                        <th align="center">上传资料</th>
                                        <td align="center">2013-10-16 09:42:58</td>
                                    </tr>
                                </table>
                            </ul>
                        </div>
                    </td>
                </tr>
            </table>
            <div class="indexBox">
                <div class="boxTitle">详细信息<a href="javascript:;" onclick="goto_detail('{$cust_data.cust_id}')" class="cueRed ml">（点击修改）</a></div>
                <ul>
                    <table width="100%" border="0" cellspacing="0" cellpadding="7" class="tableBasic">
                        <tr>
                            <td width="120" valign="top">微信号码</td>
                            <td valign="top"><strong>{$cust_data.wechat_account}</strong></td>
                            <td width="100" valign="top">婚姻状况：</td>
                            <td valign="top"><strong>{$cust_data.m_name}</strong></td>
                            <td width="100" valign="top">学历</td>
                            <td valign="top"><strong>{$cust_data.edu_name}</strong></td>
                            <td width="100" valign="top">学位</td>
                            <td valign="top"><strong>{$cust_data.deg_name}</strong></td>
                        </tr>
                        <tr>
                            <td valign="top">通讯地址</td>
                            <td valign="top" colspan="5"><strong>{$cust_data.communication}</strong></td>
                            <td width="100" valign="top">通讯邮编</td>
                            <td valign="top"><strong>{$cust_data.communication_postcode}</strong></td>
                        </tr>
                        <tr>
                            <td valign="top">居住地址</td>
                            <td valign="top" colspan="3"><strong>{$cust_data.live}</strong></td>
                            <td width="100" valign="top">居住状况</td>
                            <td valign="top"><strong>{$cust_data.li_value}</strong></td>
                            <td width="100" valign="top">居住邮编</td>
                            <td valign="top"><strong>{$cust_data.live_postcode}</strong></td>
                        </tr>
                    </table>
                </ul>
            </div>
            <div class="indexBox">
                <div class="boxTitle">联系人信息<a href="javascript:;" onclick="goto_linkman('{$cust_data.cust_id}')" class="cueRed ml">（点击修改）</a></div>
                <ul>
                    <table width="100%" border="0" cellspacing="0" cellpadding="7" class="tableBasic">
                        <tr>
                            <td width="120"> 第一联系人姓名： </td>
                            <td><strong>{$cust_data.first_linkman_name}</strong></td>
                            <td width="120"> 第一联系人关系： </td>
                            <td><strong>{$cust_data.first_linkman_type}</strong></td>
                            <td width="120"> 第一联系人电话： </td>
                            <td><strong>{$cust_data.first_linkman_phone}</strong></td>
                        </tr>
                        <tr>
                            <td> 第一联系人地址： </td>
                            <td colspan="5"><strong>{$cust_data.linkmin}</strong></td>
                        </tr>
                        <tr>
                            <td width="120"> 第二联系人姓名： </td>
                            <td><strong>{$cust_data.second_linkman_name}</strong></td>
                            <td width="120"> 第二联系人关系： </td>
                            <td><strong>{$cust_data.second_linkman_type}</strong></td>
                            <td width="120"> 第二联系人电话： </td>
                            <td><strong>{$cust_data.second_linkman_phone}</strong></td>
                        </tr>
                    </table>
                </ul>
            </div>
            <div class="indexBox">
                <div class="boxTitle">工作信息<a href="javascript:;" onclick="goto_work('{$cust_data.cust_id}')" class="cueRed ml">（点击修改）</a></div>
                <ul>
                    <table width="100%" border="0" cellspacing="0" cellpadding="7" class="tableBasic">
                        <tr>
                            <td width="120"> 当前状态： </td>
                            <td><strong>{$cust_data.cust_typename}</strong></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                        </tr>
                        <tbody id="work" style="display: none">
                            <tr>
                                <td width="120"> 公司名称： </td>
                                <td><strong>{$cust_data.company_name}</strong></td>
                                <td width="120"> 行业： </td>
                                <td><strong>{$cust_data.name}</strong></td>
                                <td width="120"> 职业： </td>
                                <td><strong>{$cust_data.pos_name}</strong></td>
                            </tr>
                            <tr>
                                <td width="120"> 公司地址： </td>
                                <td colspan="5"><strong>{$cust_data.company}</strong></td>
                            </tr>
                            <tr>
                                <td width="120"> 职务： </td>
                                <td><strong>{$cust_data.du_name}</strong></td>
                                <td width="120"> 职称： </td>
                                <td><strong>{$cust_data.ti_name}</strong></td>
                                <td width="120"></td>
                                <td></td>
                            </tr>
                        </tbody>
                        <tbody id="student" style="display: none">
                        <tr>
                            <td width="120"> 学校全称： </td>
                            <td><strong>{$cust_data.school_name}</strong></td>
                            <td width="120"> 学习形式： </td>
                            <td><strong>{$cust_data.learning_name}</strong></td>
                            <td width="120"> 入学年份： </td>
                            <td><strong>{$cust_data.entrance_year}</strong></td>
                        </tr>
                        <tr>
                            <td width="120"> 学制： </td>
                            <td><strong>{$cust_data.system_name}</strong></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                        </tr>
                        </tbody>
                    </table>
                </ul>
            </div>
        </div>
    </div>
	<div style="margin:20px 0;"></div>
	<div class="easyui-tabs" data-options="tabWidth:245">
		<div title="材料审核信息" style="padding:10px">
			<!-- <div style="margin:20px 0;"></div> -->
			<table id="reference_table" style="width:100%;height:auto;" 
				data-options="
					rownumbers:true,
					singleSelect:true,
					autoRowHeight:false,
					pagination:true,
					pageSize:10,toolbar:'#tb1'
			">
				<thead>
					<tr>
						<th field="refertype_name" width="20%" align="center">类型</th>
						<th field="status_name" width="15%" align="center">审核状态</th>
						<th field="ref_createdate" width="20%" align="center">时间</th>
						<th field="action" width="24%" align="center" formatter="format_reference">操作</th>
					</tr>
				</thead>
			</table>
		</div>
		<div title="借款信息" style="padding:10px">
			<!-- <div style="margin:20px 0;"></div> -->
			<table id="borrow_table" style="width:100%;height:auto;" 
				data-options="
					rownumbers:true,
					singleSelect:true,
					autoRowHeight:false,
					pagination:true,
					pageSize:10,toolbar:'#tb2'
			">
				<thead>
					<tr>
						<th field="borrow_id" width="12%" align="center">分期编号</th>
						<th field="fac_simple_name" width="12%" align="center">商户简称</th>
						<th field="borrow_title" width="10%" align="center">分期标题</th>
						<th field="borrow_money" width="10%" align="center">分期金额</th>
						<th field="borrow_rate" width="10%" align="center">分期利率</th>
						<th field="loan_period" width="10%" align="center">分期期限</th>
						<th field="borrow_statusname" width="10%" align="center">状态</th>
						<th field="action" width="15%" align="center" formatter="format_borrow">操作</th>
					</tr>
				</thead>
			</table>
		</div>
		<div title="投资信息" style="padding:10px">
			<!-- <div style="margin:20px 0;"></div> -->
			<table id="invest_table" style="width:100%;height:auto;" 
				data-options="
					rownumbers:true,
					singleSelect:true,
					autoRowHeight:false,
					pagination:true,
					pageSize:10,toolbar:'#tb3'
			">
				<thead>
					<tr>
						<th field="invest_id" width="12%" align="center">投资编号</th>
                        <th field="invest_title" width="15%" align="center">投资标题</th>
						<th field="invest_money" width="12%" align="center">投资金额</th>
						<th field="invest_rate" width="10%" align="center">利率</th>
						<th field="invest_time_limit" width="10%" align="center">投资期限</th>
                        <th field="invest_time" width="15%" align="center">投资时间</th>
						<th field="invest_status_name" width="10%" align="center">状态</th>
						<th field="action" width="10%" align="center" formatter="format_invest">操作</th>
					</tr>
				</thead>
			</table>
		</div>
		<div title="信息验证" style="padding:10px">
			<!-- <div style="margin:20px 0;"></div> -->
			<table id="validate_table" style="width:100%;height:auto;"
				data-options="
					rownumbers:true,
					singleSelect:true,
					autoRowHeight:false,
					pagination:true,
					pageSize:10,toolbar:'#tb4'
			">
				<thead>
					<tr>
						<th field="number" width="20%" align="center">卡号</th>
						<th field="message_number" width="12%" align="center">返回码</th>
						<th field="message" width="12%" align="center">返回码信息</th>
						<th field="result_name" width="12%" align="center">验证结果</th>
						<th field="type_name" width="15%" align="center">验证类型</th>
						<th field="validate_time" width="20%" align="center">时间</th>
					</tr>
				</thead>
			</table>
		</div>
	</div>

	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/customer/customer_see.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/ajax.js"></script>
	<script type="text/javascript">

		$(function() {
            workdetail_show('{$cust_data.current_status}');
            ajax_reference('{$cust_data.cust_id}');
            ajax_borrow('{$cust_data.cust_id}');
            ajax_invest('{$cust_data.cust_id}');
            ajax_validate('{$cust_data.cust_id}')
		});



	</script>
</body>
</html>